package com.luoxue.util;

import lombok.NoArgsConstructor;

@NoArgsConstructor
public class MyException extends Exception {

    public MyException(String message) {
        super(message);
    }

    public static ResultBody create(String message) throws MyException {
        throw new MyException(message);
    }
}
